package com.adams.access.db.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * 
 */
@Entity
@Table(name = "T_ICON")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Icon extends EntityObject
{
	/**
	 * 
	 */
	private static final long serialVersionUID = -4669953483700766728L;

	private String iconName; // 图标名称

	private String iconType; // 图标类型

	private String url;// 图标路径

	@Column(length = 64, nullable = false)
	public String getIconName()
	{
		return iconName;
	}

	public void setIconName(String iconName)
	{
		this.iconName = iconName;
	}

	@Column(length = 64, nullable = false)
	public String getIconType()
	{
		return iconType;
	}

	public void setIconType(String iconType)
	{
		this.iconType = iconType;
	}

	@Column(length = 64, nullable = false)
	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}

}
